package ywh.manager
{
	
	/**
	 * XML数据标签解析常量类;
	 * _开头为属性名;其它为标签名;
	 * @author Willi WH Yang
	 */
	public class Tag
	{
		//------------------  <init.xml>  -------------------
		public static const PLAYER_SET:String = "players";
		public static const PLAYER:String = "player";
		public static const _PLAYER_ID:String = "@playerId";
		public static const _PLAYER_TYPE:String = "@playerType";
		
		public static const LIST_SET:String = "lists";
		public static const LIST:String = "list";
		public static const _LIST_ID:String = "@listId";
		public static const _INIT_PLAYERS:String = "@initPlayers";
		
		public static const STREAM_SET:String = "streams";
		public static const STREAM:String = "stream";
		public static const _STREAM_ID:String = "@streamId";
		
		public static const _LAYOUT_SPRITE:String = "@renderer";
		public static const _CONTAINER:String = "@container";
		
		//基础路径
		public static const _PARH:String = "@path";
		//链接地址
		public static const _URL:String = "@url";
		
		//------------------  <ITEMs>  ----------------------
		
		public static const _IS_ABSOLUTE_PATH="@absolutePath"
		public static const ITEM:String = "item";
		// 描述XML节点名
		public static const DESCRIBE:String = "describe";
		// 片段起始时间
		public static const _T:String = "@t";
		// 片段起始主流文件信息
		public static const _M:String = "@m";
		// 片段时长;
		public static const _DURATION:String = "@duration";
		// 片段起始课程时间
		public static const _START_TIME:String = "@startTime";
		
		// 片段结束后停止;
		public static const _PAUSE_AT_END:String = "@pae";
		
		// 媒体初始宽度
		public static const _WIDTH:String = "@width";
		// 媒体初始高度
		public static const _HEIGHT:String = "@height";
		//===================  video =========================
		public static const _PIXEL_ASPECT_RATIO:String = "@pixelAR";
		public static const _DISPLAY_ASPECT_RATIO:String = "@displayAR";
		
		//===================  osmf =========================
		public static const _OSMF_MEDIA_TYPE:String = "@mediatype";
		public static const _OSMF_MIME_TYPE:String = "@mimetype";
		
		//===================  swf  =========================
		// SWF帧频
		public static const _SWF_FPS:String = "@fps";
		// SWF帧数量
		public static const _SWF_TOTAL_FRAMES:String = "@frameCount";
		// 片段同步类型是否为实时同步片段;
		public static const _SYNC_OffSET:String = "@syncoffset";
		//as2swf桥名称
		public static const _BRIDGE:String = "@bridge";
		
		//================== treemenu  ======================
		// 树状菜单根节点
		public static const TREE_ROOT:String = "items";
		public static const _TREE_NODE_STATUS:String = "@nodestatus";
		public static const _LABEL:String = "@label";
		static public const _NEED_FINISH:String = "@needfinish";
	}
}